﻿// a globally available service that holds the current object graphs ids.
(function () {
  'use strict';

  var serviceId = 'currents';
  angular.module('ng4model').service(serviceId, ['common', currents]);

  function currents(common) {

    var project = {};
    var opus = {};
    var team = {};

    var service = {
      projectId: project.id,
      opusId: opus.id,
      teamId: team.id,
      project: project,
      opus: opus,
      team: team
    };

    return service;
  }

})();